package com.itheima.注解.demo1;

public class Zi extends Fu {
    @Override
    public void show() {
        System.out.println("子类的方法");
    }

    @Deprecated     //表示方法以过时
    public void method(){
        System.out.println("method......");
    }

    @SuppressWarnings(value = "all")    //表示压制所有警告
    public void function(){
        int a = 10;
        int b = 20;

    }
}
